/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package pl.tom.social.common.utils;

import java.util.ArrayList;
import java.util.List;
import pl.tom.social.dal.entity.Site;

/**
 *
 * @author Tom
 */
public class Converter {
	public static List<Site> convertToSiteList(Object[] objs) {
		List<Site> result = new ArrayList<Site>();
		for(Object obj:objs) {
			if(obj instanceof Site) {
				result.add((Site)obj);
			}
		}
		return result;
	}
}
